Documents for PDF, .NET Edition Documentation
RemoveAll Method (StructList<T>)

GrapeCity.Documents.Common Assembly > GrapeCity.Documents.Common Namespace > StructList<T> Class : RemoveAll Method
The GrapeCity.Documents.Common.StructPredicate`1 delegate that defines the conditions of the elements to remove.
Removes all the elements that match the conditions defined by the specified predicate.
Syntax
'Declaration
 
Public Function RemoveAll( _
   ByVal match As GrapeCity.Documents.Common.StructPredicate(Of T) _
) As System.Integer
public System.int RemoveAll( 
   GrapeCity.Documents.Common.StructPredicate<T> match
)

Parameters

match
The GrapeCity.Documents.Common.StructPredicate`1 delegate that defines the conditions of the elements to remove.

Return Value

The number of elements removed from the StructList<T>.
See Also

Reference

StructList<T> Class
StructList<T> Members